package cn.wolfcode.shopserverorder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//扫描mybatis接口的注解
@MapperScan("cn.wolfcode.shopserverorder.mapper")
//开启事务管理
@EnableTransactionManagement
public class ShopServerOrderApplication {

	public static void main(String[] args) {
		SpringApplication.run(ShopServerOrderApplication.class, args);
	}
}
